

import DataStructures.*;

public class Wrapper3 implements WordSet{
    
    private SplayTree datos;
    
    
    public Wrapper3(){
        
        datos = new SplayTree();
        
    }
    
    public Word get (Word word){
        
        return (Word) datos.find(word);
        
    }
    
    public void add(Word wordObject){
        
        datos.insert(wordObject);
        
    }
    
    
}
